package com.meihuak.cloud_ordering.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meihuak.cloud_ordering.bean.Callboard;
import com.meihuak.cloud_ordering.mapper.CallboardMapper;
import com.meihuak.cloud_ordering.service.CallboardService;
import org.springframework.stereotype.Service;

/**
 * @author 韩迪
 * @date 2022/03/26 16:22
 **/
@Service
public class CallboardServiceImpl extends ServiceImpl<CallboardMapper, Callboard> implements CallboardService {



    /**
     * 发布公告
     *
     * @param uid  发布者id
     * @param name 发布者类型
     * @return 公告
     */
    @Override
    public Callboard createInfo(int uid, String name) {
        if (name.equals("business")){

        }else if (name.equals("manager")){

        }
        return null;
    }
}
